<?php

class Empeval_Methods_Data_RejectListItem {
	
	public $bonusGoalsFormId;
	public $text;
	public $decision;
	public $lastModified;
	public $created;
	public $fname;
	public $lname;
	public $positionName;
	public $status;
	public $superiorFname = null;
	public $superiorLname = null;
	
	public function __construct(EmpevalViewRejections $reject) {
		$this->bonusGoalsFormId = $reject->getBonusGoalsFormId();
		$this->text = $reject->getText();
		$this->decision = $reject->getDecision();
		$this->lastModified = $reject->getLastModified();
		$this->created = $reject->getCreated('Y-m-d');
		$this->fname = $reject->getFname();
		$this->lname = $reject->getLname();
		$this->positionName = $reject->getPositionName();
		$this->unitName = $reject->getUnitName();
		$this->status = $reject->getStatus();
		$this->superiorFname = $reject->getSuperiorFname();
		$this->superiorLname = $reject->getSuperiorLname();
	}
	
}